package com.lovo.service;

import com.lovo.model.UserDO;

import java.util.List;

public interface UserService {
    List findAll();
    void save(UserDO userDO);
    void update(UserDO userDO);

    UserDO validate(String name,String pwd);
    List find(String name);

    UserDO findById(Integer userId);

    void deleteByName(String name);
}
